/* CodeBuilder代码生成器 生成时间：2011-12-03 20:47:14 */
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using Maticsoft.DBUtility;

namespace Model
{
    /// <summary>
	/// TB_User:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
    public class User
    {
        public User()
		{}
        #region Model
        private Int32? _id;
        private string _username;
        private string _password;
        private string _realname;
        private Int32? _usertype;
        private string _email;
        private string _qq;
        private string _areaname;
        private string _tel;
        private string _description;
        private string _pic;
        private Boolean? _ispass;
        private DateTime? _addtime;
        /// <summary>
		/// 主键
		/// </summary>
        [SqlField("ID",SqlDbType.Int,4)]
		public Int32? ID
		{
			set{ _id = value; }
			get{ return _id; }
		}
        /// <summary>
		/// 用户名
		/// </summary>
        [SqlField("UserName",SqlDbType.NVarChar,200)]
		public string UserName
		{
			set{ _username = value; }
			get{ return _username; }
		}
        /// <summary>
		/// 密码
		/// </summary>
        [SqlField("PassWord",SqlDbType.NVarChar,200)]
		public string PassWord
		{
			set{ _password = value; }
			get{ return _password; }
		}
        /// <summary>
		/// 昵称
		/// </summary>
        [SqlField("RealName",SqlDbType.NVarChar,200)]
		public string RealName
		{
			set{ _realname = value; }
			get{ return _realname; }
		}
        /// <summary>
		/// 会员等级
		/// </summary>
        [SqlField("UserType",SqlDbType.Int,4)]
		public Int32? UserType
		{
			set{ _usertype = value; }
			get{ return _usertype; }
		}
        /// <summary>
		/// 邮箱
		/// </summary>
        [SqlField("Email",SqlDbType.NVarChar,200)]
		public string Email
		{
			set{ _email = value; }
			get{ return _email; }
		}
        /// <summary>
		/// QQ
		/// </summary>
        [SqlField("QQ",SqlDbType.NVarChar,50)]
		public string QQ
		{
			set{ _qq = value; }
			get{ return _qq; }
		}
        /// <summary>
		/// 城市
		/// </summary>
        [SqlField("AreaName",SqlDbType.NVarChar,200)]
		public string AreaName
		{
			set{ _areaname = value; }
			get{ return _areaname; }
		}
        /// <summary>
		/// 电话
		/// </summary>
        [SqlField("Tel",SqlDbType.NVarChar,20)]
		public string Tel
		{
			set{ _tel = value; }
			get{ return _tel; }
		}
        /// <summary>
		/// 描述
		/// </summary>
        [SqlField("Description",SqlDbType.NVarChar,4000)]
		public string Description
		{
			set{ _description = value; }
			get{ return _description; }
		}
        /// <summary>
		/// 头像路径
		/// </summary>
        [SqlField("Pic",SqlDbType.NVarChar,200)]
		public string Pic
		{
			set{ _pic = value; }
			get{ return _pic; }
		}
        /// <summary>
		/// 审核
		/// </summary>
        [SqlField("IsPass",SqlDbType.Bit,1)]
		public Boolean? IsPass
		{
			set{ _ispass = value; }
			get{ return _ispass; }
		}
        /// <summary>
		/// 添加时间
		/// </summary>
        [SqlField("AddTime",SqlDbType.DateTime,8)]
		public DateTime? AddTime
		{
			set{ _addtime = value; }
			get{ return _addtime; }
		}
        #endregion Model
    }
}